package com.manage.func.booksmanagement.childrenbooks.service.impl;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.manage.base.service.impl.BaseServiceImpl;
import com.manage.func.booksmanagement.childrenbooks.dao.IChildrenBooksDao;
import com.manage.func.booksmanagement.childrenbooks.model.ChildrenBooksBean;
import com.manage.func.booksmanagement.childrenbooks.service.IChildrenBooksService;

@Service("childrenbooksServiceManage")
public class ChildrenBooksServiceImpl
		extends BaseServiceImpl<ChildrenBooksBean>
		implements IChildrenBooksService {

	@Autowired
	IChildrenBooksDao dao;

	@Override
	public List<ChildrenBooksBean> selectChildrenBooksList(ChildrenBooksBean bean) {
		return dao.selectChildrenBooksList(bean);
	}

	@Override
	public int insertChildrenBooks(ChildrenBooksBean queryBean) {
		return dao.insertChildrenBooks(queryBean);
	}

	@Override
	public int deleteChildrenBooks(ChildrenBooksBean queryBean) {
		return dao.deleteChildrenBooks(queryBean);
	}

	@Override
	public int updateChildrenBooks(ChildrenBooksBean queryBean) {
		return dao.updateChildrenBooks(queryBean);
	}

	@Override
	public int selectTotalCount(ChildrenBooksBean queryBean) {
		return dao.selectTotalCount(queryBean);
	}

}
